//
//  bossBaseViewCell.swift
//  LeDian
//
//  Created by 三秒文化 on 16/3/10.
//  Copyright © 2016年 51ledian. All rights reserved.
//

import UIKit

class LDBaseRecFinderCell: LDBaseCells {
    
    
    lazy var gapView:UIView = {
        let views = UIView()
        
        views.layer.backgroundColor = UIColor.whiteColor().CGColor
        views.layer.cornerRadius = 3.0
        return views
    }()
    
    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        
        self.selectionStyle = UITableViewCellSelectionStyle.None
        self.contentView.backgroundColor = LDBackGoundColorGray
        self.contentView.addSubview(gapView)
        
        gapView.snp_makeConstraints { (make) in
<<<<<<< HEAD
            make.edges.equalTo(UIEdgeInsetsMake(LDCellFrame.Margin_V, LDMargin_V*2, -LDCellFrame.Margin_V, -LDMargin_V*2))
        }
    }
    
=======
            make.edges.equalTo(UIEdgeInsetsMake(LDCellFrame.Margin_V, 0, -LDCellFrame.Margin_V, 0))
        }
    }
    
    init() {
        super.init(style: UITableViewCellStyle.Default, reuseIdentifier: nil)
    }
    
>>>>>>> dingdong2.1.0
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override func setSelected(selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)
        
        // Configure the view for the selected state
    }
//    override func drawRect(rect: CGRect) {
    
//        super.drawRect(rect)
//        self.frame = CGRectMake(Margin_V*2, Margin_V*2, LDScreenWidth - Margin_V * 4, self.height - Margin_V*4)
//        contentView.center = self.center
//        contentView.frame.size = CGSizeMake(LDScreenWidth - 4*Margin_V, self.frame.size.height - 4*Margin_V)
//    }
    
}
